package tk.zater.helloserver.bean;

public class Constant {
    private static String password;

    public Constant() {

        StringBuilder bud=new StringBuilder();
        for(int i=0;i<5;i++)
        {
            bud.append((char)(((int)(Math.random()*26)+(int)'A')));
        }
        password= bud.toString();
        System.out.println(password);
    }

    public static boolean isMathch(String password2){
        return password.equals(password2);
    }

}
